import javax.sound.midi.MidiUnavailableException;

public class HarmonicMinorScale extends MinorScale
{
	public HarmonicMinorScale(Pitch root)
	{
		super(root);
		
		scale.set(6, new Pitch(scale.get(6).freq.next()));
	}
	
	public Scale octaveUp()
	{
		return new HarmonicMinorScale(new Pitch(scale.get(0).freq.octaveUp()));
	}

	public static void main(String[] args) throws SyntaxErrorException, MidiUnavailableException
	{
		Scale Cm = new HarmonicMinorScale(new Pitch("C4"));
		Cm.play(1000);
	}
}
